[Brand Refactor] Small fixes batch - #1387
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: ead6d62 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
🟢 No design token changes found |
Contributor
🟢 No unit test coverage changes foundAll components and hooks with tests maintain the same coverage as the main branch. |
Contributor
🟢 Bundle size report
|
danielguillan
temporarily deployed
to
github-pages
July 1, 2026 08:51 — with
GitHub Actions
Inactive
Contributor
🟢 No visual differences foundOur visual comparison tests did not find any differences in the UI. |
…/github.com/primer/brand into danielguillan/brand-refactor-p0-fixes-batch
danielguillan
temporarily deployed
to
github-pages
July 1, 2026 09:40 — with
GitHub Actions
Inactive
danielguillan
marked this pull request as ready for review
July 1, 2026 09:42
There was a problem hiding this comment.
Pull request overview
This PR batches several small UI/UX fixes across Primer Brand components and documentation, including an update to the VideoPlayer API to support bottom-positioned controls and improved autoplay story behavior.
Changes:
- Extend
VideoPlayerwithcontrolsPositionandshowControlsWhenPaused, update styles/stories/docs, and adjustuseVideovolume/mute state syncing. - Update responsive layout/spacing behaviors for
TilesandMediaPlaylist, plus a smallPillaricon-radius tweak. - Fix a
Statisticexample’s text color to be consistent, and add changesets for release notes.
Show a summary per file
| File | Description |
|---|---|
| packages/react/src/VideoPlayer/VideoPlayer.tsx | Adds new props and modifies control/overlay rendering and positioning logic. |
| packages/react/src/VideoPlayer/VideoPlayer.test.tsx | Adds coverage for new paused-controls/autoplay behaviors, mute sync, and bottom controls positioning. |
| packages/react/src/VideoPlayer/VideoPlayer.stories.tsx | Exposes new props in Storybook controls/default args. |
| packages/react/src/VideoPlayer/VideoPlayer.module.css.d.ts | Updates CSS module typings for new modifier classes. |
| packages/react/src/VideoPlayer/VideoPlayer.module.css | Adds styles for bottom-positioned controls and container positioning. |
| packages/react/src/VideoPlayer/VideoPlayer.features.stories.tsx | Adds an autoplay + bottom-controls feature story. |
| packages/react/src/VideoPlayer/hooks/useVideo.tsx | Syncs volume/mute state from the underlying <video> element more reliably. |
| packages/react/src/Tiles/Tiles.module.css | Adjusts tablet viewport behavior to use 3 columns. |
| packages/react/src/Statistic/Statistic.examples.stories.tsx | Updates social proof example heading color token usage. |
| packages/react/src/Pillar/Pillar.module.css | Updates icon border-radius for “with background” variant. |
| packages/react/src/MediaPlaylist/MediaPlaylist.module.css | Tweaks spacing on narrow viewports and heading/paragraph spacing. |
| packages/e2e/scripts/playwright/playwright.generate-tests.ts | Skips the new autoplay story to avoid flakey visual tests. |
| apps/next-docs/content/components/VideoPlayer/index.mdx | Documents the new autoplay + bottom-controls usage and prop table update. |
| .changeset/video-player-autoplay-controls.md | Changeset entry for VideoPlayer update. |
| .changeset/tiles-tablet-columns.md | Changeset entry for Tiles tablet layout update. |
| .changeset/statistic-color-consistency.md | Changeset entry for Statistic example color update. |
| .changeset/pillar-icon-radius.md | Changeset entry for Pillar icon radius update. |
| .changeset/media-playlist-narrow-spacing.md | Changeset entry for MediaPlaylist spacing update. |
Review details
- Files reviewed: 17/20 changed files
- Comments generated: 1
- Review effort level: Low
danielguillan
temporarily deployed
to
github-pages
July 1, 2026 10:02 — with
GitHub Actions
Inactive
danielguillan
temporarily deployed
to
github-pages
July 2, 2026 12:46 — with
GitHub Actions
Inactive
rezrah
approved these changes
Jul 3, 2026
…nd-refactor-p0-fixes-batch
Merged
22 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Towards https://github.com/github/brand-experience/issues/289
Fixes 4 reported UI bugs.
Resolves https://github.com/orgs/github/projects/23995/views/5?pane=issue&itemId=185434044
Resolves https://github.com/github/brand-experience/issues/256
Resolves https://github.com/orgs/github/projects/23995/views/5?pane=issue&itemId=196640953
Resolves https://github.com/orgs/github/projects/23995/views/5?pane=issue&itemId=196639023
List of notable changes:
What should reviewers focus on?
Steps to test:
Use the following links to verify changes:
Contributor checklist:
update snapshotslabel to the PR)Reviewer checklist:
Screenshots: